[#include "../common/taglibs.html"/]
<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
	<h4 class="modal-title">[@spring.message code="userlayer.update.title"/]</h4>
</div>

<div class="modal-control">
	[@form.form commandName="updateDTO" method="POST" class="form-horizontal form"]
	<input type="hidden" name="format" value="json">
	<div class="modal-body">
		<div class="form-body">
			<h3 class="form-section">[@spring.message code="userlayer.update.form.section.baseInfo"/]</h3>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.name"/]</label>
						<div class="col-md-7">
							[@spring.bind path="name"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.description"/]</label>
						<div class="col-md-7">
							[@spring.bind path="description"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.deep"/]</label>
						<div class="col-md-7">
							[@spring.bind path="deep"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
				</div>
			</div>
			
			<h3 class="form-section">[@spring.message code="userlayer.update.form.section.conditionInfo"/]</h3>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.registerBeginTime"/]</label>
						<div class="col-md-7">
							[@spring.bind path="registerBeginTime"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.registerEndTime"/]</label>
						<div class="col-md-7">
							[@spring.bind path="registerEndTime"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.withdrawTimes"/]</label>
						<div class="col-md-7">
							[@spring.bind path="withdrawTimes"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.withdrawTotal"/]</label>
						<div class="col-md-7">
							[@spring.bind path="withdrawTotal"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.rechargeTimes"/]</label>
						<div class="col-md-7">
							[@spring.bind path="rechargeTimes"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.rechargeTotal"/]</label>
						<div class="col-md-7">
							[@spring.bind path="rechargeTotal"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.rechargeMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="rechargeMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
				</div>
			</div>
			
			
			<h3 class="form-section">[@spring.message code="userlayer.update.form.section.configurationInfo"/]</h3>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.oneTimeWithdrawAmountMin"/]</label>
						<div class="col-md-7">
							[@spring.bind path="oneTimeWithdrawAmountMin"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.oneTimeWithdrawAmountMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="oneTimeWithdrawAmountMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.dailyWithdrawTimesMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="dailyWithdrawTimesMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.dailyWithdrawAmountMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="dailyWithdrawAmountMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.oneTimeRechargeAmountMin"/]</label>
						<div class="col-md-7">
							[@spring.bind path="oneTimeRechargeAmountMin"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.oneTimeRechargeAmountMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="oneTimeRechargeAmountMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.dailyRechargeTimesMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="dailyRechargeTimesMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<label class="col-md-5 control-label">[@spring.message code="userlayer.update.form.label.dailyRechargeAmountMax"/]</label>
						<div class="col-md-7">
							[@spring.bind path="dailyRechargeAmountMax"]
							<input id="${status.expression}" name="${status.expression}" value="${status.value!}" type="text" class="form-control">
							[/@spring.bind]
						</div>
					</div>
				</div>
			</div>
			
		</div>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn default" data-dismiss="modal">[@spring.message code="form.button.close"/]</button>
		<button type="submit" class="btn blue">[@spring.message code="form.button.submit"/]</button>
	</div>
	[/@form.form]
</div>

<script type="text/javascript">

$('#updateDTO').validate({
	rules: {
  	},
	messages:{
	}
});

</script>